<%--
  Created by IntelliJ IDEA.
  User: v.tsapaev
  Date: 15.03.12
  Time: 23:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div class="header">
    <div class="header_container">
        <div class="header_fake" ></div>
        <div class="header_page_container">
            <table style="margin: auto;">
                <tr>
                    <c:forEach var="page" items="${pages}">
                        <td>
                            <div>
                                <a href="${page.fullUrl}" class="header_page" >
                                    <c:out value="${page.name}" />
                                </a>
                            </div>
                        </td>
                    </c:forEach>
                </tr>
            </table>
        </div>

        <div id="header_auth_info" class="header_auth_info">
            <div id="auth_info_drop_down_list" class="auth_info_drop_down_list">
                <div id="auth_info" class="auth_info">
                    <c:out value="${sessionScope.user.username}"/>
                </div>
                <ul class="invisible">
                    <li>
                        <div><a href="#">профайл</a></div>
                    </li>
                    <li><div><a href="#">настройки</a></div></li>
                    <li><div><a id="logout" href="#">выйти</a></div></li>
                </ul>
            </div>
        </div>
    </div>
</div>